package history.link.doublylinklist;

/**
 * @author czt
 * @version 1.0
 * @since 2024/10/28
 */
public class DoublyLinkedListSentinelTest {

    public static void main(String[] args) {
        DoublyLinkedListSentinel doublyLinkedListSentinel = new DoublyLinkedListSentinel();
//        doublyLinkedListSentinel.addFirst(5);
//        doublyLinkedListSentinel.addFirst(4);
//        doublyLinkedListSentinel.addFirst(3);
//        doublyLinkedListSentinel.addFirst(2);
//        doublyLinkedListSentinel.addFirst(1);
        doublyLinkedListSentinel.addLast(1);
        doublyLinkedListSentinel.addLast(2);
        doublyLinkedListSentinel.addLast(3);
        doublyLinkedListSentinel.addLast(4);
        doublyLinkedListSentinel.loop2();
    }
}
